package com.hhh.springai_test.service;

import com.hhh.springai_test.model.dto.aiPrompt.AiPromptAddRequest;
import com.hhh.springai_test.model.dto.aiPrompt.AiPromptUpdateRequest;
import com.hhh.springai_test.model.po.AiPrompt;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 29915
* @description 针对表【ai_prompt(AI Prompt表)】的数据库操作Service
* @createDate 2025-02-05 20:21:29
*/
public interface AiPromptService extends IService<AiPrompt> {
    
    /**
     * 创建
     *
     * @param aiPromptAddRequest
     * @return
     */
    long addAiPrompt(AiPromptAddRequest aiPromptAddRequest);

    /**
     * 删除
     *
     * @param id
     * @return
     */
    boolean deleteAiPrompt(long id);

    /**
     * 更新
     *
     * @param aiPromptUpdateRequest
     * @return
     */
    boolean updateAiPrompt(AiPromptUpdateRequest aiPromptUpdateRequest);

    /**
     * 获取全部列表
     *
     * @return
     */
    List<AiPrompt> listAiPrompt();
}
